#ifdef _TEST_ARRAY
#include "queue.h"
#else
#include "queueList.h"
#endif
#include <stdio.h>
int main()
{
#ifdef _TEST_ARRAY
    Queue Q = CreateQueue(5);
#else
    Queue Q = CreateQueue();
#endif
    Enqueue(1, Q);
    Enqueue(2, Q);
    Enqueue(3, Q);
    Enqueue(4, Q);
    printf("%d \n", FrontAndDequeue(Q));
    Enqueue(5, Q);
    Enqueue(6, Q);

    printf("%d \n", FrontAndDequeue(Q));
    printf("%d \n", FrontAndDequeue(Q));
    printf("%d \n", FrontAndDequeue(Q));
    printf("%d \n", FrontAndDequeue(Q));
    printf("%d \n", FrontAndDequeue(Q));

    Enqueue(6, Q);
    Enqueue(6, Q);
    Enqueue(6, Q);
    printf("%d \n", FrontAndDequeue(Q));

    printf("%d \n", FrontAndDequeue(Q));
    printf("%d \n", FrontAndDequeue(Q));
    printf("%d \n", FrontAndDequeue(Q));
}